<?php
/**
 * project  : nhiepanhclub
 * author   : Ton That Quoc Cuong
 * version  : 1.0
 */
session_start();
define('APPLICATION_PATH', realpath(dirname(__FILE__)));
define('DS', DIRECTORY_SEPARATOR);
define('LIBS_PATH', APPLICATION_PATH . DS . 'includes');

define('MODULES_PATH', APPLICATION_PATH . DS . 'modules');
define('VIEWS_PATH', APPLICATION_PATH . DS . 'views');

define('DOMAIN', 'http://localhost/nhiepanhclub');

define('TEMPLATES_URL', DOMAIN . '/default');

require_once LIBS_PATH . DS . 'globalview.php';
require_once LIBS_PATH . DS . 'globals.php';

$module = trim(strip_tags($_GET['module']));
$typeid = trim(strip_tags($_GET['typeid']));

include VIEWS_PATH . DS . 'layoutheader.php';
include VIEWS_PATH . DS . 'sticky.php';
?>
<div id="container">
<?php
include VIEWS_PATH . DS . 'header.php';
?>
    <div id="content">
    	<?php
        include VIEWS_PATH . DS . 'leftcol.php';        
        include VIEWS_PATH . DS . 'rightcol.php';
        ?>
    </div>
<?php
include VIEWS_PATH . DS . 'footer.php';
?>
</div>
<?php
include VIEWS_PATH . DS . 'layoutfooter.php';
?>
